 #ifndef __switch_driver_H_
#define __switch_driver_H_


typedef enum
{
	SWITCH_1=0,
	SWITCH_2,
	SWITCH_3,
	SWITCH_4,
	SWITCH_5,
	SWITCH_MAX,
}E_SWITCH;


typedef enum
{
	SWITCH_RESET=0,
	SWITCH_SET=!SWITCH_RESET,
}E_IO_STATE;


void switch_driver_gpio_init(E_SWITCH index,E_IO_STATE off);
void switch_driver_set_pin_on(E_SWITCH index);
void switch_driver_set_pin_off(E_SWITCH index);
u8 switch_driver_on_off(E_SWITCH index);
void switch_driver_out_reversal_pin(E_SWITCH index);

#endif

